export const ColumnProps = [
    {
        title: '站点编号',
        dataIndex: 'location',
        key: 'location',
        width: 200,
        ellipsis: true
    },
    {
        title: '站点名称',
        dataIndex: 'label',
        key: 'label',
        width: 200,
        ellipsis: true
    },
    {
        title: '空间/运行区域',
        dataIndex: 'zone',
        key: 'zone',
        width: 200,
        ellipsis: true
    },
    {
        title: '站点区域',
        dataIndex: 'locationArea',
        key: 'locationArea',
        width: 200,
        ellipsis: true
    },
    {
        title: '接力区域',
        dataIndex: 'relayWcCode',
        key: 'relayWcCode',
        width: 200,
        ellipsis: true
    },
    {
        title: '站点锁定',
        dataIndex: 'locationLock',
        key: 'locationLock',
        width: 200,
        ellipsis: true
    },
    {
        title: '托盘类型',
        dataIndex: 'containerType',
        key: 'containerType',
        width: 200,
        ellipsis: true
    },
    {
        title: '班组编号',
        dataIndex: 'locationWcCode',
        key: 'locationWcCode',
        width: 200,
        ellipsis: true
    },
    {
        title: '当前层数',
        dataIndex: 'currentStratum',
        key: 'currentStratum',
        width: 200,
        ellipsis: true
    },
    {
        title: '当前托盘高度',
        dataIndex: 'locationHeight',
        key: 'locationHeight',
        width: 200,
        ellipsis: true
    },
    {
        title: '创建人',
        dataIndex: 'creator',
        key: 'creator',
        width: 200,
        ellipsis: true
    },
    {
        title: '创建时间',
        dataIndex: 'createTime',
        key: 'createTime',
        width: 300,
        ellipsis: true
    },
    {
        title: '修改人',
        dataIndex: 'updater',
        key: 'updater',
        width: 200,
        ellipsis: true
    },
    {
        title: '修改时间',
        dataIndex: 'updateTime',
        key: 'updateTime',
        width: 300,
    }
];


export const RuleProps = {
    location: [{ required: true, message: '请输入站点编号' }],
    label: [{ required: true, message: '请输入站点码' }],
    type: [{ required: true, message: '请选择站点类型' }],
    name: [{ required: true, message: '请选择站点名称' }],
    containerType: [{ required: true, message: '请选择托盘类型' }],
}


export const FormProps = {
    id: '',
    code: '',
    name: '',
    type: '',
}


export const FilterItems = [
    {
        type: 'input',
        label: '站点编号',
        key: 'location'
    },
    {
        type: 'input',
        label: '站点名称',
        key: 'label'
    },
    {
        type: 'input',
        label: '站点区域',
        key: 'locationArea'
    }
]


export const FormItems = [
    {
        type: 'input',
        label: '站点编号',
        isShow: true,
        key: 'location'
    },
    {
        type: 'input',
        label: '站点码',
        isShow: true,
        key: 'label',
        disabled: false 
    },
    {
        type: 'input',
        label: '站点名称',
        isShow: true,
        key: 'name'
    },
    {
        type: 'select',
        label: '空间/运行区域',
        isShow: true,
        key: 'zone'
    },
    {
        type: 'input',
        label: '站点区域',
        isShow: true,
        key: 'locationArea'
    },
    {
        type: 'input',
        label: '站点所在班组',
        isShow: true,
        key: 'locationWcCode'
    },
    {
        type: 'input',
        label: '接力区域',
        isShow: true,
        key: 'relayWcCode'
    },
    {
        type: 'select',
        label: '托盘类型',
        isShow: true,
        key: 'containerType',
        data: []
    }
]

export const FilterCondition = {
    total: 0,
    current: 1,
    pageSize: 10,
    label: '',
    containerType: '',
    componentClazz:'location'
}
